package com.xmu.prcs.dao;

import java.util.List;

import com.xmu.prcs.entity.Role;

/**
 * 
 * @author frequent
 * @version 1.0,2010-3-20
 *
 */
public interface RoleDao extends GenericDao<Role>{

	public final String ID_ROLE = "idRole";
	public final String ROLE_NAME = "roleName";
	public final String LEVEL = "level";
	public final String ROLE_INFO = "roleInfo";
	
	/**
	 * 通过权限等级得到权限Role
	 * @return
	 */
	public List<Role> getRoleByLevel(int level);
}
